﻿@model BuyWithoutLoseMoney.Core.Models.UserAddress;

@{
    Layout = "/Views/Shared/Shared.cshtml";
    //记得添加list
    var user = ViewBag.User as BuyWithoutLoseMoney.Core.Models.User;
}

<section>
    <div class="view-product">
        <div class="info-center">
            <el-form ref="form" :model="form" label-width="80px" asp-controller="YongHuZhongXin" asp-action="AddressEdit" method="post">

                <input type="hidden" asp-for="Id" autocomplete="off" class="el-input__inner" />
                <el-form-item label="收件人">
                    <input type="hidden" asp-for="Name" autocomplete="off" class="el-input__inner" />
                </el-form-item>
                <el-form-item label="手机号">
                    <input type="text" asp-for="Phone" autocomplete="off" class="el-input__inner" />
                </el-form-item>
                <el-form-item label="国家">
                    <input type="text" asp-for="Nation" autocomplete="off" class="el-input__inner" />
                </el-form-item>
                <el-form-item label="省">
                    <input type="text" asp-for="Province" autocomplete="off" class="el-input__inner" />
                </el-form-item>
                <el-form-item label="市">
                    <input type="text" asp-for="City" autocomplete="off" class="el-input__inner" />
                </el-form-item>
                <el-form-item label="区域">
                    <input type="text" asp-for="DisTrict" autocomplete="off" class="el-input__inner" />
                </el-form-item>
                <el-form-item label="详细地址">
                    <input type="text" asp-for="DetailedAddress" autocomplete="off" class="el-input__inner" />
                </el-form-item>


                <div class="el-form-item">
                    <input type="hidden" asp-for="UserID" value="@user.Id" autocomplete="off" class="el-input__inner" />
                </div>

                <div class="el-form-item">
                    <div class="el-form-item__content" style="margin-left:80px">
                        <button type="submit" class="el-button el-button-primary">确认</button>
                    </div>
                </div>

            </el-form>
        </div>
    </div>
</section>


